package com.es.www.kyl.util;

import cn.hutool.core.util.RandomUtil;

public class HeadUrlUtil {
    private static final String PATH = "/static/uploads/";

    private static final String HEADER = "header_";

    private static final String SUFFIX = ".png";

    public static String getHeadUrl() {
        //从十个头像中随机选取一个
        int i = RandomUtil.randomInt(1, 10);
        return PATH + HEADER + i + SUFFIX;
    }
}
